package com.icarsaas.saas.tenant.cars.customer.repository;

import com.icarsaas.saas.component.base.MyBaseRepository;
import com.icarsaas.saas.component.base.MyBaseRepositoryImpl;
import com.icarsaas.saas.tenant.cars.customer.model.Coupon;
import com.icarsaas.saas.tenant.system.repository.BaseRepository;
import org.springframework.stereotype.Repository;

/**
 * 优惠券接口
 */
public interface CouponRepository extends CouponRepositoryCustom, BaseRepository<Coupon, String> {

}

/* 自定义接口
 */
interface CouponRepositoryCustom extends MyBaseRepository<Coupon, String> {

}

@Repository
class CouponRepositoryImpl extends MyBaseRepositoryImpl<Coupon, String> implements CouponRepositoryCustom {
	
}